import { createContext, useContext } from 'react';
import type { Strategy } from '../types/strategies';

export const StrategyListContext = createContext<Strategy[]>([]);
export const useStrategyList = () => useContext(StrategyListContext);